package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentUpkeepDetail;
import com.mxpioframework.system.service.BaseService;

import java.util.List;


/**
 * 保养类别Service接口
 *
 * @author Cheng
 * @date 2023-07-18
 */
public interface EquipmentUpkeepDetailService extends BaseService<EquipmentUpkeepDetail> {

    public List<EquipmentUpkeepDetail> selectByMainId(String mainId);

    /**
     * 从公共参数中选择添加明细
     * @param equipmentUpkeepDetail
     */
    public void saveFromParams(EquipmentUpkeepDetail equipmentUpkeepDetail);

    /**
     * 从公共参数中选择编辑明细
     * @param equipmentUpkeepDetail
     */
    public void editFromParams(EquipmentUpkeepDetail equipmentUpkeepDetail);

}
